home *** CD-ROM | disk | FTP | other *** search
Text File | 1988-01-26 | 5.2 KB | 112 lines | [TEXT/ACA] |
- dBASE Toolbox Documentation (version 1.0)
- 11/2/87 by Kent Irwin
- ------------------------------
-
- dBASE Toolbox is a desk accessory designed to facilitate the creation of
- dBASE Mac DIALOG procedures. Using an object-oriented drawing surface like
- MacDraw, you can create, drag, size, and edit dialog items quickly and easily.
- When it looks the way you want, the Toolbox will write the DIALOG command
- for you, and you can simply Copy it to the clipboard and Paste it into
- a dBASE Mac procedure. You can also paste an existing DIALOG procedure into
- the Toolbox window, and then view or edit it graphically.
-
- How to use it
- -------------
- Begin, of course, by installing dBASE Toolbox with Font/DA Mover. Normally
- you will want to install it into your System file. If you would like dBASE
- Toolbox to appear only in dBASE Mac, the way Picture This… does, follow
- these steps:
-
- 1. From the Finder, double-click the dBASE ToolBox DA icon. This will
- open Font/DA Mover, with dBASE Toolbox in the left box.
- 2. Option-click the right Open… button, and select the dBASE Mac application
- in the selector box.
- 3. Click on dBASE Toolbox in the left box, then click the >> Copy >> button.
- 4. Quit Font/DA Mover.
-
- When you're finished, dBASE Toolbox will appear in the Apple menu only when
- you are in dBASE Mac.
-
- When you open the DA, you will see a window. The interior of this window
- represents the dialog box you are creating/editing. By dragging and sizing
- the window, you determine the size and position of the dialog that will
- be created for dBASE Mac.
-
- The Toolbox menu contains choices for creating the various dialog items
- that are availble in dBASE. Once you create items (objects), the following
- actions may be taken:
-
- Drag - drag object by clicking anywhere inside
- Size - size an object by clicking in the 'handle' (lower-right corner).
- An object's handle only appears when it is selected.
- Double-click - brings up an info dialog where you can edit the
- object's label or delete the object.
- Return or Enter - brings up info dialog for selected object.
- Tab - selects next object.
- Shift-Tab - selects previous object.
- BackSpace - deletes selected object.
- Clear (Edit menu) - deletes ALL objects (you get to confirm).
-
- There are two modes for the window: Dialog and Procedure. When you first
- open the Toolbox, you are in Dialog mode. This is the mode where you
- graphically create/edit a dialog. Cut, Copy, and Paste have no effect in
- this mode. When you want to see the dBASE procedure for your dialog,
- choose Show Procedure from the menu. This puts you into Procedure mode,
- where you can see the text of the dBASE procedure. Cut or Copy will
- place a copy of the text into the Clipboard. Paste will place the contents
- of the clipboard into the Toolbox window. DON'T paste entire dBASE procedures
- into the Toolbox, just paste in the DIALOG portion. No editing is allowed
- in the Procedure window. If there is a DIALOG procedure in the Procedure
- window, selecting Show Dialog from the menu will convert it to graphic form
- in the Dialog mode.
-
- In Dialog mode there are no scroll bars, since the window represents the
- limits of your dialog box. Instead, you get controls called Limit Lines
- that look like little pull-rings. Limit Lines allow you to set margins
- which will restrict the moving/sizing of objects in the window, and also
- help align objects vertically or horizontally. Just grab and drag the
- little pull-rings to set a Limit Line. There are four Limit Lines; top,
- left, bottom, and right. Once you set a limit line, it acts like the edge
- of the window, and won't let you drag or size anything past it. Suppose you
- want to line up several radio buttons so their left ends line up vertically.
- Just drag the left Limit Line to where you want them to line up, then drag
- each radiobutton up against the limit. To reset all the Limit Lines back to
- the window edges, just click in the window's Grow box.
-
- About RadioButtons
- ------------------
- Radio button objects have an additional field displayed in their edit
- dialog; "Set". This field is a number which determines what set the
- individual button belongs to. Radio buttons are grouped into sets. When
- the dialog is used in dBASE Mac, only one button in a set may be selected
- at any time.
-
- About FixedGraphics
- -------------------
- Fixed graphic items in dBASE Mac come from fields (in files or Globals).
- The Toolbox always puts "<Fieldname>" into the procedures it writes for
- fixed graphic items. You must replace this with a proper fieldname
- after you paste the procedure into dBASE. The edit dialog for fixed graphic
- items does not show the label edit box for this reason.
-
- About Pushbuttons
- -----------------
- The first button you create will have a thicker border than any buttons you
- create later. This is the 'default' button, and is the button that is
- activated when a user presses Return or Enter in the dialog. Note that this
- is for convenience in this DA only...dBASE Mac dialogs don't highlight the
- default button like this!
-
- Limitations
- -----------
- Max. number of objects = 50
- Max. radio sets = 10
- Max. label size = 255 chars.
-
- I hope this utility is useful to somebody...it is to me. Any comments
- will be welcome...
-
- Kent Irwin
- Ashton-Tate Support
-
- Ashton-Tate BBS (213-538-6196) -- (a free, multi-user BBS) Username: "Kent"